/**
 * Movement type for all small ships i.e. move instantly, no rotation circle required
 * @var int
 */
const mT_agile = 1;

/**
 * Movement type for all medium to large ships i.e. can only move in direction already facing, otherwise they expend action points rotating
 * @var int
 */
const mT_heavy = 2;

/**
 * @var int milliseconds
 */
const updatePollTime = 50000;

/**
 * Game Commands
 */
const command = new Hash({
	// Core
	beginGame 	: '#92342374233723452345623',
	
	// Gameplay
	move		: /Move #\S+\s?:\s?(N|NE|E|SE|S|SW|W|NW)/i,
	select		: /Select #\w+/i,
	
	// Utilities
	history		: 'history',
	help		: ['help','man'],
	cmdHelp		: /\w\s--help/i,
	chat		: /chat \w+\s?:\s?\w+/i, 
	
	// Fun Stuff
	hello 		: ['hello','hi','hey','bonjour','hola'],
	goodbye 	: ['bye','goodbye','cya','adios','ciao'],
	swear		: ['fuck','shit','cock','ass','twat']
});

/**
 * Game Impulses
 */
const impulses = new Hash({
	move		: 'Move #{unitId} : {move}'	
});

/**
 * Game Manual
 */
const manual = new Hash({
	'select'	: '<span>: Select a unit.<span><br /><span>Format: "Select #&lt;UNIT ID&gt;"</span><br /><span>Example: "Select #fox1".</span>',
	'move' 		: '<span>: Move a unit.<span><br /><span>Format: "Move #&lt;UNIT ID&gt; : &lt;DIRECTION&gt;"</span><br /><span>Example: "Move #fox1 : NW".</span>',
	'history'	: '<span>: Show command history.</span><br /><span>Format: "history"</span>',
	'help'		: '<span>: </span><br /><span>Format: "&lt;COMMAND&gt; --help"</span><br /><span>Example: "move --help"</span>',
	'chat'		: '<span>: todo</span>' // @todo
});